<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            border: 2px solid rgb(55, 0, 255);
            width: 500px;
            margin: 20px auto;
            padding: 4px;
            text-align: center;

        }
        .timeout{
            float: left;
            margin: 20px;
        }
            .score{
                float: right;
                margin: 20px 0;
            }
            .fen{
                float:right;
                margin: 20px 10px;
            }
            
        
        h1{
                font-size: 100px;
                line-height: 100px;
            }
            .color{
                font-size: 20px;
                margin: 0 15px;
                cursor: pointer;
            }
            input{
                margin: 24px;
            }
        
    </style>
    <script>
        alert("这是一个游戏")
    </script>
</head>
<body>
    <div class="box">
<span class="timeout">0</span>
<span class="score">0</span>
<span class="fen">分数：</span>
<h1>字</h1>
<p>
    请从下方颜色选取与上面文字颜色相同的颜色
</p>
<span class="color">红</span>
<span class="color">黑</span>
<span class="color">蓝</span>
<span class="color">绿</span>
<span class="color">黄</span>
<div>
    <input type="button" value="开始游戏"><!--方框-->
</div>

    </div>
</body>
</html>
